﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true"
    CodeBehind="Blogs.aspx.cs" Inherits="InfoStuffStore.FormAdminBlogs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div style="width:95%;">
        <h2>Blogs
        </h2>
        <a href="Blog.aspx" style="color:blue; font-weight:bold;float:right;">Add New</a><br /><br />
        <div id="productDesc1">
            <asp:DataList ID="GridBlogs" runat="server" Width="100%">
                <ItemTemplate>
                    <div>
                        <h6><%# DataBinder.Eval(Container.DataItem, "Title")%></h6>
                        <br />
                        <a href="Blog.aspx?blogid=<%# DataBinder.Eval(Container.DataItem, "BlogID")%>" style="float: right; color: blue;">Edit</a>
                    </div>
                </ItemTemplate>
            </asp:DataList>
        </div>
        <div class="cleaner h50">
        </div>
        </div>
</asp:Content>
